package com.ruoyi.common.constant;

import java.util.Arrays;

public class UserDefaultConstants {

    //注册用户的部门id
    public static final Long PARK_USER_DEPT_ID = 200L;

    //注册用户的角色
    public static final Long PARK_USER_ROLE_ID = 102L;

    //园区角色
    public static final String PARK_USER_ROLE_KEY = "PARK-USER";

    //园区管理员key
    public static final String PARK_MANAGE_ROLE_KEY = "PARK-MANAGE";

    //请求头 x-www-platform  表示PC端
    public static final String X_WWW_PLATFORM_PC = "1";

    //管理员角色id
    public static final Long PARK_MANAGE_ROLE_ID = 101L;

    public static void main(String[] args) {

        Long[] ros = {102L,300L};
        if(Arrays.stream(ros).anyMatch(num -> num == PARK_USER_ROLE_ID)){
            System.out.println("有相同数值");
        }


    }
}
